import Http from '../utils/request'

class WindowService extends Http{
    windowInfo=()=>{
        return this.get('/window/getWindowList')
    }
    addWindow=(data)=>{
        return this.post('/window/add',data)
    }
    updateWindow=(data)=>{
        return this.post('/window/update',data)
    }
    deleteWindow=(data)=>{
        return this.post('/window/delete',data)
    }
    login=(data)=>{
        return this.post('/window/login',data)
    }
}

export default new WindowService();
